package com.sunyur.tailor.channel.service.inner.receiveorder.param;

import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class Items implements Serializable {
    /**
     * 采购商收货行号
     */
    @NotNull(message = "采购商收货行号不能为空")
    @Size(max = 45, message = "采购商收货行号长度不能超过45")
    private String purReceiveOrderItemCode;

    /**
     * 发货行号
     */
    @NotNull(message = "发货行号不能为空")
    @Size(max = 45, message = "发货行号长度不能超过45")
    private String sendOrderItemCode;

    /**
     * 收货数量
     */
    @NotNull(message = "收货数量不能为空")
    @Size(max = 45, message = "收货数量长度不能超过45")
    private BigDecimal receiveCount;

    /**
     * 收的加放量
     */
    @Size(max = 45, message = "收的加放量长度不能超过45")
    private BigDecimal receiveAddQuantity;
}
